package com.demo;

import com.rule.CustomizedRule;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.ribbon.RibbonClient;

@SpringBootApplication
@EnableEurekaClient
// configuration:标注 Rule 的配置类 ； name：标注需要配置的服务名
//@RibbonClient(name = "SPRINGCLOUD-02-PROVIDER", configuration = CustomizedRule.class)
public class Springcloud03ConsumerDept8082Application {

	public static void main(String[] args) {
		SpringApplication.run(Springcloud03ConsumerDept8082Application.class, args);
	}

}
